﻿using System;
using System.Collections.Generic;
using System.Text;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;

namespace GXJD.NewsPush.Models
{
    /// <summary>
    /// 推送任务类型
    /// </summary>
    [Serializable]
    public class TaskType
    {
        /// <summary>
        /// ID
        /// </summary>
        [BsonRepresentation(BsonType.ObjectId)]
        public string _id { get; set; }

        /// <summary>
        /// 类型名称
        /// </summary>
        public string typeName { get; set; }

        /// <summary>
        /// 推送人昵称
        /// </summary>
        public string toNickName { get; set; }

        /// <summary>
        /// 推送任务开始时间（例如：10:00）
        /// </summary>
        public string bgnTime { get; set; }

        /// <summary>
        /// 推送任务结束时间（例如：18:00）
        /// </summary>
        public string endTime { get; set; }
    }
}
